<ion-view>
  <ion-header-bar class="bar bar-header header">
    <h1 class="title" on-touch="backToTop()">资讯</h1>
  </ion-header-bar>
  <ion-content class="gray-bg" style="background-color:#e6e6e6">
    <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
    <div class="slider news-banner" ng-if="newsTopList!=null&& newsTopList.length>0" >
        <ion-slide-box class="news_slide_box" does-continue="true" auto-play="true" show-pager="true" slide-interval="3000" delegate-handle="myHandle">
          <ion-slide ng-repeat="news in newsTopList">
           <div class="slider-slides">
              <div class="slider-slide">
                <div class="news-banner-pic">
                  <a ng-click="readMessage(news.message_id,'messageIndex')">
                    <img ng-src="{{picPath}}middle_{{news.message_icon}}" style="width:100%;height:200px" alt="{{news.message_title}}"/>
                  </a>
                </div>
                <div class="news-banner_text">
                  <!--ng-href="#/newsDetails/{{newsTopList[0].message_id}}"-->
                  <a ng-click="readMessage(news.message_id,'messageIndex')">
                    <h3>{{news.message_title}}</h3>
                    <p>{{news.message_time | date:"yyyy-MM-dd HH:mm"}}</p>
                  </a>
                </div>
              </div>
            </div>
          </ion-slide>
        </ion-slide-box>
    </div>
    <div class="list">
        <ul ng-repeat="newsLi in newsBottomList1" class="news-ul">
            <li class="news-li-title">#{{newsLi.title}}#</li>
            <li ng-repeat="newsItem in newsLi.list" class="news-more{{$index}}">
                <!--ng-href="#/newsDetails/{{newsItem.message_id}}"-->
                <a class="item item-thumbnail-left new-item" ng-click="readMessage(newsItem.message_id,'messageIndex')">
                    <img ng-src="{{picPath}}{{newsItem.message_icon}}" alt="" class="news-item-pic"/>
                    <div class="news-more-c{{$index}}">
                        <h2 class="news-item-tit" ng-bind="newsItem.message_title"></h2>
                        <!--<p class="news-item-con" ng-bind="newsItem.message_summary"></p>-->
                        <p class="news-item-date">{{newsItem.message_time | date:"yyyy-MM-dd HH:mm"}}</p>
                    </div>
                </a>
            </li>
            <li class="news-look-more"><a ng-href="#/newsMore/a" style="color: #a02e4f;">查看更多<span>&gt;</span></a></li>
        </ul>
     </div>
      <!--上拉加载-->
      <!--<ion-infinite-scroll
        on-infinite="loadMore()" ng-if="hasNextPage()"
        distance="1%"></ion-infinite-scroll>-->
</ion-content>
  <!--<a ng-class="{'fix-button':showWineGlasses,'fix-button-hidden':!showWineGlasses}" on-touch="goToWineIndex()" type="button"></a>-->
</ion-view>

